package com.gnerv.sylvanas.business.manage.model.dto;

import com.gnerv.sylvanas.business.manage.model.bo.PostBO;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class PostUpdateDTO {

    private String ukId;
    private String name;
    private String roleUkId;
    private String orgUkId;

    public PostBO toPostBO() {
        PostBO postBO = new PostBO();
        BeanUtils.copyProperties(this, postBO);
        return postBO;
    }
}